package webservices;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/*
 *  Arnaud et Adrien
 */
@WebService()
public class MailService {

	/**
 	* Web service operation
 	*/
	@WebMethod(operationName = "sendMail")
	public String sendMail(@WebParam(name = "idClient")
	int idClient, @WebParam(name = "message")
	String message) {

    	return "The following e-mail has been sent to the client " + idClient + ": " + message;
	}
}
